﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Logistics.Web
{
    public partial class truckshow : System.Web.UI.Page
    {
        public int geshu { get; set; }
        public int yema { get; set; }
        public int yeshu { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                getR();
            }
        }
        public void getR()
        {
            string Number = "";
            string type = "";
            int zongshu;
            yema = Convert.ToInt32(Request.QueryString["page"]);
            geshu = 3;
            Repeater1.DataSource = BLL.TruckBLL.Getqwe(Number, type, yema, geshu, out zongshu);
            yeshu = (int)Math.Ceiling((float)zongshu / geshu);
            Repeater1.DataBind();
        }
    }
}